package com.vichat.user.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-11-06 15:57:17.591
 */
@Entity
@Table(name = "sys_agent_busi_record", catalog = "ccsdb")
public class SysAgentBusiRecord implements java.io.Serializable {

    private static final long serialVersionUID = 1L;


    public static final String TABLE = "sys_agent_busi_record";

    /**
     * 日志编号
     */
    public static final String ALIAS_LOG_ID = "log_id";
    /**
     * 操作用户编号
     */
    public static final String ALIAS_AGENT_UID = "agent_uid";
    /**
     * 操作用户名称
     */
    public static final String ALIAS_AGENT_UNAME = "agent_uname";
    /**
     * 操作用户企业编号
     */
    public static final String ALIAS_AGENT_ID = "agent_id";
    /**
     * 操作类型
     */
    public static final String ALIAS_OPED_TYPE = "oped_type";
    /**
     * 被操作用户编号
     */
    public static final String ALIAS_UID = "uid";
    /**
     * 被操作用户名称
     */
    public static final String ALIAS_USER_NAME = "user_name";
    /**
     * 操作信息
     */
    public static final String ALIAS_OPED_INFO = "oped_info";
    /**
     * 备注信息
     */
    public static final String ALIAS_REMARK = "remark";
    /**
     * 操作IP
     */
    public static final String ALIAS_UIP = "uip";
    /**
     *
     */
    public static final String ALIAS_CREATE_TIME = "create_time";


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "log_id", unique = true, nullable = false)
    public java.lang.Long logId;

    @Column(name = "agent_uid")
    public java.lang.Long agentUid;

    @Column(name = "agent_uname")
    public java.lang.String agentUname;

    @Column(name = "agent_id")
    public java.lang.Long agentId;

    @Column(name = "oped_type")
    public java.lang.String opedType;

    @Column(name = "uid")
    public java.lang.Long uid;

    @Column(name = "user_name")
    public java.lang.String userName;

    @Column(name = "oped_info")
    public java.lang.String opedInfo;

    @Column(name = "remark")
    public java.lang.String remark;

    @Column(name = "uip")
    public java.lang.String uip;

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "create_time")
    public java.util.Date createTime;


    public java.lang.Long getLogId() {
        return this.logId;
    }

    public void setLogId(java.lang.Long value) {
        this.logId = value;
    }

    public java.lang.Long getAgentUid() {
        return this.agentUid;
    }

    public void setAgentUid(java.lang.Long value) {
        this.agentUid = value;
    }

    public java.lang.String getAgentUname() {
        return this.agentUname;
    }

    public void setAgentUname(java.lang.String value) {
        this.agentUname = value;
    }

    public java.lang.Long getAgentId() {
        return this.agentId;
    }

    public void setAgentId(java.lang.Long value) {
        this.agentId = value;
    }

    public java.lang.String getOpedType() {
        return this.opedType;
    }

    public void setOpedType(java.lang.String value) {
        this.opedType = value;
    }

    public java.lang.Long getUid() {
        return this.uid;
    }

    public void setUid(java.lang.Long value) {
        this.uid = value;
    }

    public java.lang.String getUserName() {
        return this.userName;
    }

    public void setUserName(java.lang.String value) {
        this.userName = value;
    }

    public java.lang.String getOpedInfo() {
        return this.opedInfo;
    }

    public void setOpedInfo(java.lang.String value) {
        this.opedInfo = value;
    }

    public java.lang.String getRemark() {
        return this.remark;
    }

    public void setRemark(java.lang.String value) {
        this.remark = value;
    }

    public java.lang.String getUip() {
        return this.uip;
    }

    public void setUip(java.lang.String value) {
        this.uip = value;
    }

    public java.util.Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(java.util.Date value) {
        this.createTime = value;
    }


    public SysAgentBusiRecord() {
    }

    public SysAgentBusiRecord(boolean qryflag) {
        if (qryflag) {
            this.logId = null;
            this.agentUid = null;
            this.agentUname = null;
            this.agentId = null;
            this.opedType = null;
            this.uid = null;
            this.userName = null;
            this.opedInfo = null;
            this.remark = null;
            this.uip = null;
            this.createTime = null;
        }
    }


    public SysAgentBusiRecord(
            java.lang.Long inLogId,
            java.lang.Long inAgentUid,
            java.lang.String inAgentUname,
            java.lang.Long inAgentId,
            java.lang.String inOpedType,
            java.lang.Long inUid,
            java.lang.String inUserName,
            java.lang.String inOpedInfo,
            java.lang.String inRemark,
            java.lang.String inUip,
            java.util.Date inCreateTime
    ) {
        super();
        this.logId = inLogId;
        this.agentUid = inAgentUid;
        this.agentUname = inAgentUname;
        this.agentId = inAgentId;
        this.opedType = inOpedType;
        this.uid = inUid;
        this.userName = inUserName;
        this.opedInfo = inOpedInfo;
        this.remark = inRemark;
        this.uip = inUip;
        this.createTime = inCreateTime;
    }


}

